Computer Configuration > Administrative Templates > Firefox
Both
HKLM\Software\Policies\Mozilla\Firefox
If this policy is enabled, the user cannot create a master password. If this policy is disabled or not configured, the user can create a master password.